﻿using AutoMapper;
using Literary.Core.Model.Business.Material;
using Literary.Core.Service.Business.Material.Article.Input;

namespace Literary.Core.Service.Business.Material.Article
{
    /// <summary>
    /// 映射配置
    /// </summary>
    public class MapConfig : Profile
    {
        public MapConfig()
        {
            //新增
            CreateMap<ArticleAddInput, ArticleEntity>();
            CreateMap<ArticleUpdateInput, ArticleEntity>();
        }
    }
}
